package com.example.patient.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author wxy
 * @Date 2021/1/22 15:24
 * @Version 1.0
 */
@Data
@ApiModel(value = "问诊评价信息返回体")
public class CommentInfoResp implements Serializable {
    private static final long serialVersionUID = -6442419609969218589L;

    @ApiModelProperty(value = "hospital")
    @JSONField(name = "hospital")
    private HospitalResp hospital;
    @ApiModelProperty(value = "docInfo")
    @JSONField(name = "docInfo")
    private DocInfoResp docInfo;
    @ApiModelProperty(value = "cInfo")
    @JSONField(name = "cInfo")
    private CInfoResp cInfo;

    @Data
    public static class HospitalResp implements Serializable {
        private static final long serialVersionUID = 7264557157040419446L;

        @ApiModelProperty(value = "name")
        @JSONField(name = "Name")
        private String name;
        @ApiModelProperty(value = "ico")
        @JSONField(name = "ICO")
        private String ico;
    }

    @Data
    public static class DocInfoResp implements Serializable {
        private static final long serialVersionUID = 8150542628071103388L;

        @ApiModelProperty(value = "name")
        @JSONField(name = "Name")
        private String name;
        @ApiModelProperty(value = "head")
        @JSONField(name = "Head")
        private String head;
        @ApiModelProperty(value = "title")
        @JSONField(name = "Title")
        private String title;
        @ApiModelProperty(value = "depName")
        @JSONField(name = "depName")
        private String depName;
    }

    @Data
    public static class CInfoResp implements Serializable {
        private static final long serialVersionUID = -988223689116546422L;

        @ApiModelProperty(value = "hScore")
        @JSONField(name = "HScore")
        private BigDecimal hScore;
        @ApiModelProperty(value = "hRemark")
        @JSONField(name = "HRemark")
        private String hRemark;
        @ApiModelProperty(value = "dScore")
        @JSONField(name = "DScore")
        private BigDecimal dScore;
        @ApiModelProperty(value = "dRemark")
        @JSONField(name = "DRemark")
        private String dRemark;
        @ApiModelProperty(value = "sScore")
        @JSONField(name = "SScore")
        private BigDecimal sScore;
        @ApiModelProperty(value = "sRemark")
        @JSONField(name = "SRemark")
        private String sRemark;
    }
}
